#defines for USB packet types to improve readability.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 30 Jan 2006 04:25:56 +0000 (04:25 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 30 Jan 2006 04:25:56 +0000 (04:25 +0000)
gpsbabel/jeeps/garminusb.h

index 7e07600dad84052177d0ac044382a5d7d5329aac..638be5b017c0f788c6318e5558d9c370c513ec31 100644 (file)
@@ -57,3 +57,10 @@ int gusb_cmd_get(garmin_usb_packet *ibuf, size_t sz);
 int gusb_open(const char *portname);
 int gusb_close(const char *portname);
 int gusb_init(const char *portname);
+
+/*
+ * New packet types in USB.
+ */
+#define GUSB_SESSION_START 5   /* We request units attention */
+#define GUSB_SESSION_ACK   6   /* Unit responds that we have its attention */ 
+#define GUSB_REQUEST_BULK  2   /* Unit requests we read from bulk pipe */